<%--
  Created by IntelliJ IDEA.
  User: fan
  Date: 2017/5/18
  Time: 16:40
  To change this template use File | Settings | File Templates.
--%>
<%
    response.setHeader("Pragma", "No-cache");
    response.setHeader("Cache-Control", "no-cache");
    response.setDateHeader("Expires", 0);
    String webRoot = request.getContextPath() + "/";
//        String webRootPath = request.getScheme() + "://"
    String webRootPath =  "//"
            + request.getServerName();
    if(request.getServerPort()!=80){
        webRootPath+= ":" + request.getServerPort();
    }

    webRootPath+= webRoot;
    request.setAttribute("webRoot", webRootPath);
%>


<script>


</script>

